﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChartSharp
{
    public class ScatterPlot : Chart
    {
        protected AxisType _types;
        protected AxisRange _ranges;
        protected AxisLabels _labels;
        protected DataScale _dataScales;

        public ScatterPlot()
            : base(GetScatterChartType())
        {
        }

        public ScatterPlot(int width, int height)
            : base(GetScatterChartType(), new Size(width, height))
        {
        }

        public ScatterPlot(Size size)
            : base(GetScatterChartType(), size)
        {
        }

        public ScatterPlot(Size size, DataSets data)
            : base(GetScatterChartType(), size, data)
        {
        }

        public ScatterPlot AxisType(AxisType types)
        {
            _types = types;
            return this;
        }

        public ScatterPlot AxisRange(AxisRange ranges)
        {
            _ranges = ranges;
            return this;
        }

        public ScatterPlot AxisLabel(AxisLabels labels)
        {
            _labels = labels;
            return this;
        }

        public ScatterPlot DataScale(DataScale dataScales)
        {
            _dataScales = dataScales;
            return this;
        }

        private static Type GetScatterChartType()
        {
            return new Type("s");
        }
    }
}
